#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<stdlib.h>
int** fun(int n) {
    int** s = (int**)malloc(n * sizeof(int*));
    while (n--)
        s[n] = (int*)malloc(n * sizeof(int));
    return s;
}
int main()
{
	/*int arr[2][3] = { 0,1,2,3,4,5 };
	int* p = arr;
	int** ps = &p;
	return 0;*/
	fun(4);
    return 0;
  
}

